var express = require('express');
var router = express.Router();
const getTVController = require("../controllers/getTV_controller")
router.get("/getTV", (req, res) => {
    var {
        page,
        pagesize,
        value,
    } = req.query

    getTVController.getTVlist({
        page,
        pagesize,
        value
    }, ["查询失败", "查询成功"], (result) => {
        res.json(result)
    })
})
module.exports = router;